Skip to content

feat(transcription): Parakeet-v3 model download (Track-B step 3)#11

Open
farce1 wants to merge 1 commit into
feat/parakeet-enginefrom
feat/parakeet-model-download
Open

feat(transcription): Parakeet-v3 model download (Track-B step 3)#11
farce1 wants to merge 1 commit into
feat/parakeet-enginefrom
feat/parakeet-model-download

Conversation

@farce1

@farce1 farce1 commented Jun 14, 2026

Copy link
Copy Markdown
Owner

What — Track-B step 3 (stacked on #10)

Backend download for the Parakeet-v3 model so the engine from #10 has files to load.

  • model.rs: parakeet_model_dir + check_parakeet_assets_ready (encoder/decoder/joiner.int8.onnx + tokens.txt) — with a unit test.
  • download.rs: PARAKEET_V3_ARCHIVE (k2-fsa asr-models tarball, verified URL …/sherpa-onnx-nemo-parakeet-tdt-0.6b-v3-int8.tar.bz2) + download_parakeet_model mirroring the Whisper-turbo flow (range-resume download → SHA256 verify → extract_tar_bz2 → readiness) + a fail-loud SHA test.
  • commands.rs + lib.rs: download_parakeet_model command, registered.

The extracted dir matches what ParakeetEngine::load (#10) expects.

Verification

  • clippy --all-targets --all-features -- -D warnings ✅ (full chain compiles), model::tests ✅.
  • PARAKEET_V3_ARCHIVE.sha256 is a REPLACE_WITH_ placeholder with a fail-loud test — same maintainer-fill convention as the Whisper/diarization archives (now 3 such gated SHAs). Runtime download untestable in CI (network + 671 MB model).

Next (Track-B)

Engine-selection setting (default Parakeet-v3, Whisper fallback) — plumb asr_engine + per-engine model dir through StartWorkerArgs/session.rs/commands.rs + a first-run/download trigger; then picker UI; GPU EPs; retranscribe_meeting.

Notes

Stacked on #10 (base feat/parakeet-engine); retarget chain to main on merge. CI red on the usual maintainer-only blockers, not this PR.

…all)

Track-B step 3. Adds model::parakeet_model_dir + check_parakeet_assets_ready,
PARAKEET_V3_ARCHIVE (k2-fsa asr-models tarball), download_parakeet_model (mirrors
the whisper-turbo flow: range-resume download + SHA256 verify + tar.bz2 extract +
readiness check), the download_parakeet_model command, and its registration.
SHA256 is a REPLACE_WITH_ placeholder with a fail-loud test, per the existing
maintainer-fill convention.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant